package com.careersersystem.entity;

/**
 * Notice entity. @author MyEclipse Persistence Tools
 */

public class Notice implements java.io.Serializable {

	// Fields

	private Integer noticeId;
	private Users usersBySenderId;
	private Users usersByReceiverId;
	private String content;
	private Short readed;

	// Constructors

	/** default constructor */
	public Notice() {
	}

	/** minimal constructor */
	public Notice(Users usersBySenderId, Users usersByReceiverId, Short readed) {
		this.usersBySenderId = usersBySenderId;
		this.usersByReceiverId = usersByReceiverId;
		this.readed = readed;
	}

	/** full constructor */
	public Notice(Users usersBySenderId, Users usersByReceiverId,
			String content, Short readed) {
		this.usersBySenderId = usersBySenderId;
		this.usersByReceiverId = usersByReceiverId;
		this.content = content;
		this.readed = readed;
	}

	// Property accessors

	public Integer getNoticeId() {
		return this.noticeId;
	}

	public void setNoticeId(Integer noticeId) {
		this.noticeId = noticeId;
	}

	public Users getUsersBySenderId() {
		return this.usersBySenderId;
	}

	public void setUsersBySenderId(Users usersBySenderId) {
		this.usersBySenderId = usersBySenderId;
	}

	public Users getUsersByReceiverId() {
		return this.usersByReceiverId;
	}

	public void setUsersByReceiverId(Users usersByReceiverId) {
		this.usersByReceiverId = usersByReceiverId;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Short getReaded() {
		return this.readed;
	}

	public void setReaded(Short readed) {
		this.readed = readed;
	}

}